{% extends "main/base.html" %}

{% block body %}
{% if password_changed %}
  <p id="title">Your password was changed successfully.</p>
{% else %}
<p id="title">Change Password</p>
{{ member.name }}
<br />
<br />
<form action="{% url account_password_change %}" method="post">{% csrf_token %}
  <p></p>
  <table>
    {{ form.as_table }}
    <tr>
      <th></th>
      <td><input type="submit" value=" Update "></td>
    </tr>
  </table>
</form>
{% endif %}
<a href={% url account_settings %}>Settings</a>
<br />
<br />
<a href={% url account_logout %}>Logout</a>
{% endblock %}